From: yjiang5@vtsmp-build32.sh.intel.com Date: Wed, 28 Sep 2005 13:06:41 +0000 (+0100) Subject: Save immediate operand into mcip structure. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16769^2~16^2~17^2~5 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ba17dc3655b24a15328394719a1b2fa73b179743;p=xen.git Save immediate operand into mcip structure. Some opcode like and/or need the immediate info when return from DM, we should save it before sending io request. Signed-off-by: Yunhong Jiang --- diff --git a/xen/arch/x86/vmx_platform.c b/xen/arch/x86/vmx_platform.c index 8052b1c7cd..3e805cac8c 100644 --- a/xen/arch/x86/vmx_platform.c +++ b/xen/arch/x86/vmx_platform.c @@ -667,6 +667,7 @@ static void mmio_operands(int type, unsigned long gpa, struct instruction *inst, mpcip->instr = inst->instr; mpcip->operand[0] = inst->operand[0]; /* source */ mpcip->operand[1] = inst->operand[1]; /* destination */ + mpcip->immediate = inst->immediate; if (inst->operand[0] & REGISTER) { /* dest is memory */ index = operand_index(inst->operand[0]);